package io.renren.modules.jxgk.service.impl;

import io.renren.modules.jxgk.dao.ClassScheduleDao;
import io.renren.modules.jxgk.entity.ClassScheduleEntity;
import io.renren.modules.jxgk.service.ClassScheduleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class ClassScheduleServiceImpl implements ClassScheduleService{
    @Autowired
    ClassScheduleDao classScheduleDao;
    public List<ClassScheduleEntity> Select(){
        return classScheduleDao.Select();
    }
    public List<ClassScheduleEntity> queryList(Map<String, Object> map){
        return classScheduleDao.queryList(map);
    }
    public int queryTotal(Map<String, Object> map){
        return  classScheduleDao.queryTotal(map);
    }
    public void deleteBatch(String[] myindex){
        classScheduleDao.deleteBatch(myindex);
    }
    public void save(ClassScheduleEntity cse){
        classScheduleDao.save(cse);
    }
    public ClassScheduleEntity queryObject(String index){
       return classScheduleDao.queryObject(index);
    }
    public void update(ClassScheduleEntity cse){
        classScheduleDao.update(cse);
    }
}
